package com.ivi.car.module.carstate.model;

import android.app.Activity;

import com.ivi.car.base.IBaseView;
import com.ivi.car.bean.carstate.CarPartState;

import java.util.ArrayList;

/**
 * Copyright
 * author chengxp
 * date 2018/3/6
 * describe
 * history
 */

public interface IStateContract {
    interface View extends IBaseView {
        /**
         * 展示各个配件的健康状态
         */
        void showPartsState(ArrayList<CarPartState> list);
    }

    interface Presenter {
        /**
         * 跳转对应的界面
         */
        void startActivity(Activity activity);

        void showPartsState();
    }

}
